package com.zenchn.service.impl;

import com.zenchn.dao.TSysDictTypeMapper;
import com.zenchn.dynamic.TSysDictTypeDynamicMapper;
import com.zenchn.generic.GenericDao;
import com.zenchn.generic.GenericServiceImpl;
import com.zenchn.model.TSysDictType;
import com.zenchn.model.TSysDictTypeExample;
import com.zenchn.service.DictTypeService;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import static org.mybatis.dynamic.sql.SqlBuilder.*;
import static com.zenchn.dynamic.TSysDictTypeDynamicSqlSupport.*;
/**
 * 数据字典类型 业务实现类
 *
 * @author dingxinfa
 * @date 2020-04-16
 **/
@Service
@Transactional(rollbackFor = Exception.class)
public class DictTypeServiceImpl  extends GenericServiceImpl<TSysDictType, String, TSysDictTypeExample> implements DictTypeService {


    @Resource
    private TSysDictTypeMapper dictTypeMapper;

    @Resource
    private TSysDictTypeDynamicMapper dictTypeDynamicMapper;

    @Override
    public GenericDao<TSysDictType, String, TSysDictTypeExample> getDao() {
        return dictTypeMapper;
    }
}
